import http from "@/api/config/http";
import { IQuery, ITableResponse } from "@/interface/IAxios";

interface LightQueue {
  queueId: string;
  tagCode: string;
  stationNum: string;
  lightTimes: number;
  sendTime: string;
  doneTime?: any;
  retryTimes: number;
  status: string;
  deptId: string;
}
export function lightQueueList(query?: IQuery): Promise<ITableResponse<LightQueue>> {
  return http.request({
    url: `/queue/light/list`,
    method: "get",
    params: query
  });
}
